﻿using MetroGS.AppClass;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace MetroGS.Pages
{
    public partial class UCGeneralStats : UserControl
    {
        SQL ClassSQL = new SQL();

        public UCGeneralStats()
        {
            InitializeComponent();
        }

        private void uc_stats_Loaded(object sender, RoutedEventArgs e)
        {
            ClassSQL.total_gamestime(this);
            ClassSQL.avg_gamestime(this);

            ClassSQL.total_gamestimeday(this);
            ClassSQL.total_gamestimeweek(this);
            ClassSQL.total_gamestimemonth(this);

            ClassSQL.total_game(this);
            ClassSQL.total_gamecompleted(this);
        }
    }
}
